import webapp2
import base
from lswap.models import *

jinja = base.jinja_environment

class TestPageHandler(webapp2.RequestHandler):
    def get(self):
        self.response.headers['Content-Type'] = 'text/html'

        template_values = {
            'abc':'abc'
        }

        template = jinja.get_template('test.html')
        self.response.out.write(template.render(template_values))

class TestUploadHandler(webapp2.RequestHandler):
    def post(self):
        pass

test_page = webapp2.WSGIApplication([('/test', TestPageHandler)], debug=True)
upload = webapp2.WSGIApplication([('/upload', TestUploadHandler)], debug=True)

